package com.tansun.easycare.modules.rulenamalist.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tansun.easycare.core.service.impl.CrudServiceImpl;
import com.tansun.easycare.modules.rulenamalist.dao.RuleNamelistDao;
import com.tansun.easycare.modules.rulenamalist.entity.RuleNamelist;
import com.tansun.easycare.modules.rulenamalist.service.RuleNamelistService;

/**
 * 名单配置ServiceImpl
 * @author lph
 * @version 2019-06-18
 */
@Service("ruleNamelistService")
@Transactional(readOnly = true)
public class RuleNamelistServiceImpl extends CrudServiceImpl<RuleNamelistDao, RuleNamelist> implements RuleNamelistService{

	public RuleNamelist get(String id) {
		return super.get(id);
	}
	
	public List<RuleNamelist> findList(RuleNamelist ruleNamelist) {
		return super.findList(ruleNamelist);
	}
	
//	public Page<RuleNamelist> findPage(Page<RuleNamelist> page, RuleNamelist ruleNamelist) {
//		return super.findPage(page, ruleNamelist);
//	}
	
	@Transactional(readOnly = false)
	public void save(RuleNamelist ruleNamelist) {
		super.save(ruleNamelist);
	}
	
	@Transactional(readOnly = false)
	public void delete(RuleNamelist ruleNamelist) {
		super.delete(ruleNamelist);
	}
	
}